package reg
{
	import flash.display.Sprite;
	
	public class TestNullReg extends Sprite
	{
		public function TestNullReg()
		{
			super();
			trace("hello".search(new RegExp(".*")));
			testReplace();
		}
		
		public function testReplace():void {
			var key = "y";
			var str:String = "yes you are right yy";
			trace(str.replace(new RegExp(key,"g"),"e"));
		}
	}
}